package com.gs.spring.core;

public class PomOct {
	public static void main(String[] args) {
		
		
		for(double x=0;x<1500;x++){
			System.out.println("x: " + x + " : "+(15625*x+9929)/1024);
		}
		
		
		if(true) return;
		
		int i=0;
		double afterGivingToMonkey=0;
		double result;
		double hisShare;
		double remaining=0;
		int persons=2;
		for(;i<100;i++){
			remaining=i;
			for (int j = 1; j <= persons; j++) {				
				afterGivingToMonkey = remaining-1;
				if(afterGivingToMonkey%5!=0) continue;
				hisShare = afterGivingToMonkey/5;
				remaining = remaining-hisShare;
				System.out.println(remaining);
			}
		}
	}
}
